home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / fpc225_3.zip / F-PCHELP.ZIP / VIDEO.HLP < prev    next >
Text File  |  1988-01-23  |  2KB  |  55 lines

  1. \ VIDEO.HLP     Direct VIDEO Screen output              by Tom Zimmer
  2.  
  3. VTSEG           ( --- a1 )
  4.         A variable that holds the segment value of the source where
  5.         text is typed from.  Normally set to the value of ?CS:, but
  6.         is changed by the editor to display text from an external
  7.         edit buffer segment.
  8.  
  9. VIDEO-SEG       ( --- a1 )
  10.         A variable that holds the segment value of the display screen.
  11.  
  12. ATTRIB          ( --- a1 )
  13.         A variable that holds the value of the current display
  14.         attributes. The value 7 is the default for normal video.
  15.  
  16. ?VMODE          ( --- N1 )
  17.         Read the current video mode from the BIOS. A value of 7 is
  18.         normal for monochrome, and a value of 2 is a CGA board.
  19.  
  20. INITMONO        ( --- )
  21.         A defered word that gets set later, and is used to do the
  22.         monochrome display attribute control initialization
  23.         ( it sets the >ATTRIBx words. ). See the file MONOCROM.SEQ.
  24.  
  25. INITCOLOR       ( --- )
  26.         A defered word that gets set later, and is used to do the
  27.         color display attribute control initialization ( it sets the
  28.         >ATTRIBx words. ). See the file MONOCROM.SEQ, and COLOR.SEQ.
  29.  
  30. VMODE.SET       ( --- )
  31.         Set the VIDEO-SEG variable after testing the current video
  32.         mode, and perform any needed initialization required by
  33.         executing the INITMONO, or INITCOLOR as needed.
  34.  
  35. VTYPE           ( string length x y -- )
  36.         A direct screen type. The text "string" is blasted to the
  37.         current display for "length", starting at screen column x
  38.         and row y. The cursor is left positioned at the end of the
  39.         text string.
  40.  
  41.         Additional notes on VTYPE:
  42.  
  43.         The variable VTSEG holds the segment value of the source of
  44.         the video type, normally Forths Code segment.  VIDEO-SEG
  45.         holds the segment of the destination of the video type, that
  46.         is where your video board is addressed.  This makes it
  47.         possible to type to the display from a segment other than
  48.         Forths Code segment.  This is done by the editor, which
  49.         displays lines of source directly from the external memory
  50.         buffer to avoid having to move the data into Forth code
  51.         segment.
  52.  
  53.  
  54.  
  55.